import { IsOptional, MaxLength } from "class-validator";
import { PageDto } from "src/store/dto/PageDto";

export class orgPageDto extends PageDto {
  /**
   * 组织架构名称
   */
  @IsOptional()
  @MaxLength(30)
  name: string;
}